public class QQNumber {
    String acccountNumber;//账号
    String name;//名字
    int onlineDuration;//在线时长
    int grade;//等级

    public void show() {
        System.out.println("QQ号为" + acccountNumber + ",名称叫" + name + "在线的时长为" + onlineDuration
                + "天");
    }
}



